﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BinaryFormatter_的简单使用
{
    [Serializable]
    internal class User
    {
        private string _name;
        private string _password;

        public string Name { get { return _name; } set { _name = value; } }
        public string Password { get { return _password; } set { _password = value; } }
        public User() { }
        public User(string name, string password)
        {
            _name = name;
            _password = password;
        }
    }
}
